I have the following example string : <ia:save-config xmlns:ia= "http://google.com/yang/ia" />
Basically, I need a regex pattern that matches a string starting with '<' and ending with ':' but with has no space in between. For eg in the above string I want to write a regex pattern so that it matches '<ia:' but not '<rpc xmlns= "urn:' since the second one has spaces in between.
I have the following regex pattern till now: '<.*?:' but it matches both above mentioned text..