Regex

From sheep
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Look ahead example

U+123

(?=U\+\d+)U\+(\d+).*)

Look for something starting with a 'U+' followed by a number then match on the same string and then process that sequence in this case capture the number