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

Popular posts from this blog

service - Android MediaPlayer calls onCompletion before it already finished -

javascript - Training Neural Network to play flappy bird with genetic algorithm - Why can't it learn? -

javascript - Create a stacked percentage column -