Hello everyone,

How I can remove the third bracket from a column ( which is numeric and gives county code )? Do I need to use the regex code ?? or strltrim() command? I need to turn this column to numeric after removing the third column. So, if anyone share their expertise, that'd be very helpful!

Code:
----------------------- copy starting from the next line -----------------------
* Example generated by -dataex-. For more info, type help dataex
clear
input str5 county
"001]"
"001]"
"001]"
"001]"
"001]"
"001]"
"001]"
"001]"
"001]"
"001]"
"001]"
"001]"
"001]"