What regex expression will match this string: <<<random text>>>>? -
i trying match string, , guess regex way go.
the problem have 0 knowledge of how create regex expression.
how create expression match string starts 4 <
, ends 4 >
, follows.
<<<<a random string of letters, numbers & more (>) 1 symbols>>>>
or can find introductory guide on interwebs?
you should spend couple of minutes googling before posting. first hit regular expressions this site have served primer. anyway, basic idea:
<<<<.*?>>>>
that match 4 <
, 0 or more characters until first >>>>
.
depending on regex flavor using, might able simplify above to:
<{4}.*?>{4}
Comments
Post a Comment