Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

check if word at end of string regex bash

Just appreciate next solution example for your code implementation:
S=finding
if[[ "$S" == *ing ]]; then ...//some code
More generally:
if[[ "string_to_check" == regex_patten ]]; then ...//some code
 
PREVIOUS NEXT
Tagged: #check #word #string #regex #bash
ADD COMMENT
Topic
Name
5+5 =