Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Swift
swift check if regex is in string
Tom
Programming language:
Swift
2021-03-30 17:04:53
0
Q:
swift check if regex is in string
Carl Johnson
Code:
Swift
2021-07-22 21:00:40
if string.range(of: regex, options: .regularExpression, range: nil, locale: nil) != nil ...
0
Tags
string
check
Related
declare empty string in swift
How do I check if a string contains another string in Swift
number of characters in a string swift
swift 5 if statement
swift test if simulator
how to check object is nil in swift
find range of string swift
New to Communities?
Join the community