regexmatch.dev
Explore
Open main menu
Save & Share
Facebook
Twitter
Tumblr
E-Mail
Pinterest
LinkedIn
Reddit
Extract group of key from hash structure string
Published on Tue Mar 01 2022
Extract group of key from hash structure string
Regex
Test String
:'my_service_data[:key1][:key2]'
Additional matching regexes for
Extract group of key from hash structure string
Extract group of key from hash structure string
Extract group of key from hash structure string
extract node values from xml string
extract node values from xml string
Mac-address filtering
Trying to capture a mac-address structure
Extract All Steam Keys
Extract all Steam Keys from a Given String
match arguments similar to shell, supports quoted string
first group matches quoted strings second group plain text, arguments are separated with a space. example: "this is a \"string\"" thisisnot "another \"string\" with a backslash \"\\"" just replace \" with " after matching.
Phone number tests
Test a given string for phone number variations and extract th parts.
Anything sorounded by " "
Match anything inside double quote string and set the first capture group with the content
SML Structure
This i suggest match the sml structure. Use it wisely, I made it just for fun!
Replace second grouping with first
Identifies two groups, each group using a regex, then replaces group 2 with group 1.
example
group matching