regexmatch.dev
Explore
Open main menu
Save & Share
Facebook
Twitter
Tumblr
E-Mail
Pinterest
LinkedIn
Reddit
Match 4chan thread URL
Published on Tue Mar 01 2022
Matches a 4chan thread URL, see the examples
Regex
Test String
https://boards.4chan.org/mlp/thread/5 http://boards.4chan.org/b/thread/570277846 https://boards.4chan.org/mlp/thread/19865655#q19865655 https://boards.4chan.org/mlp/thread/19775771 https://boards.4chan.org/co/thread/65737750#q65737750
Additional matching regexes for
Match 4chan thread URL
Match 4chan thread URL
Matches a 4chan thread URL, see the examples
Find Reddit Threads
Simply searches for the thread-id in any kind of valid reddit-URL.
prime factorization
matches only non-prime numbers; match length is smallest divisor
spring logback parser
Spring boot logback 日志正则匹配。 样例日志 ``` 2019-12-27 13:52:38.201 INFO 1 --- [Thread-8] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2019-12-27 13:52:39.535 INFO 1 --- [Thread-8] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed 2019-12-27 13:52:39.538 INFO 1 --- [Thread-8] com.netflix.discovery.DiscoveryClient : Shutting down DiscoveryClient ... 2019-12-27 13:52:42.539 INFO 1 --- [Thread-8] com.netflix.discovery.DiscoveryClient : Unregistering ... 2019-12-27 13:52:42.540 WARN 1 --- [DiscoveryClient-0] c.netflix.discovery.TimedSupervisorTask : task supervisor shutting down, can't accept the task 2019-12-27 13:52:42.597 INFO 1 --- [Thread-8] com.netflix.discovery.DiscoveryClient : Completed shut down of DiscoveryClient 2019-12-27 13:52:43.329 WARN 1 --- [XNIO-1 task-15] c.n.eureka.resources.InstanceResource : Not Found (Renew): RPLUS-SERVICE-COMMUNITY - 69bce99f652f:rplus-service-community:20090 ```
Trim
Popular trim Regular Expression. Matches whitespace characters at the beginning and end of a string. Check out the usage examples in the test string to see how you can implement it into your own code.
zpool status
Matches the output of zpool status -v. Use preg_match_all with PREG_SET_ORDER to match multiple pools
Indian Phone Numbers!
This is not supported in Javascript! Works well for php, python. Examples: +91-8800119719, 08800119719, 8800119719, +918800119719 etc.
Matches human genomic coordinates
This expression matches human genomic coordinates, similat to those being used by genome browsers (e.g. the UCSC Genome Browser). It can match: chromosome, chromosome start, chromosome start end, chromosome start end reference sequence, chromosome start end reference sequence alternative sequence. The last two are useful when searching for mutations. Examples: 1 # matches chromosome 1 chr1 # matches chromosome 1 1:12345 # matches chromosome 1, start at base 12345 chr11:12345-78900 # matches chromosome 1, start at base 12345, end at base 78900 chr11 12345 78900 # matches chromosome 1, start at base 12345, end at base 78900 11:12345-12345_A/G # matches chromosome 1, start at base 12345, end at base 12345 and a substitution of A to G 11 12345 12347 AG GC # matches chromosome 1, start at base 12345, end at base 12345 and a substitution of AG to GC
Match all words starting with "a" not in a Tag
Match all words that are not in a tag. Non-matching < and > do not prevent matches. But fails to match terms between < and > if no intervening < or >
discord markdown
it checkes for discord markdown examples includes: _italic_ **bold** underline strikethrough > block quotes `code blocks` and any other combinations of those