I have a variable that contains following characters
"@/$%&*#{}4g_.[]3435_.technology@lte042"
I want to match only "4g_.3435_.technologylte042" by excluding special characters
Code:
set a "@\/$%&*#[](){}4g_.[]3435_.technology@lte042"
regexp {[\w._-]+} $a match
puts $match
I got output :
4g_.3435_.technology
I am not getting remaining characters "lte042"
please help.