regex - <listRel:entityId>(.*?)<\/listRel:entityId> -
good day.
my work requires me query , response it. cannot seem remove letters or name on match group. need numbers 917857
i use rubular check if match correct.
917857 james bond
here regex number number @ start of string , numbers:
\<listrel:entityid\>(\d+)[\s\w]+<\/listrel:entityid\>
here working example: regex101
this adjusted match additional input example.
Comments
Post a Comment