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

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -